Pattern of two elements with geometric figures and curves in 2d